#include <conio.h>
#include "processfile.h"
#include "Config\Preferences.h"
#include  "FFT\fft.h"
int main(int argc, char * const argv[])
{
	Preferences * connfig = NULL;
	if (argc == 3)
		connfig = LoadPreference(argv[2]);
	else
		connfig = new Preferences();


	writelof(argv[1],connfig);
	






	//float areal[8] = {10,1,2,3,4,5,6,10 };
	//float aimg[8] = {0};
	//float tmpreal[8] = {0};
	//float tmpimg[8] = { 0 };
	//fft(areal, aimg, 8, tmpreal, tmpimg);
	//ifft(areal, aimg, 8, tmpreal, tmpimg);

	printf("press any key to exit");
	_getch();
	return 0;
}